@charset "utf-8";

* {
    margin:0;
    padding:0;
}
body {
    background: #fff;
    color: #555;
    font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
    font-size:90%;
    margin: 0
}
a{color:#0991A3;text-decoration:underline;outline:none}
a:hover,a:active{text-decoration:none}
h1{margin-bottom:20px}

hr{display:block;float:left;width:100%;clear:both;margin:20px 0;border:none;border-top:1px dotted #aaa}

label{display:block;clear:both;float:left;width:120px;text-align:right;margin:7px 0;cursor:pointer;color:#aaa}
label.inline{clear:none;width:auto;margin-left:10px}
input[type=text],input[type=password],input[type=checkbox],textarea,select{float:left;margin:5px;font-family:'lucida grande',verdana,helvetica,arial,sans-serif;color:#555}
input[type=text],input[type=password],textarea,select{padding:3px;border:1px solid #ccc}
input[type=text],input[type=password]{width:150px}
input[type=checkbox]{margin:10px 5px}
input.medium{width:200px}
input.large{width:300px}
input[type=submit],input[type=button]{margin:5px;border:none;padding:5px 10px;background:#1796C4;color:#fff;cursor:pointer;font-weight:bolder}
input[type=submit]:hover,input[type=button]:hover{box-shadow:0 0 4px #000}
input[type=button]{background:#bbb}
input[type=button]:hover{box-shadow:0 0 4px #555}
input[type=button].delete{background:#B50F0C}
input[type=file]{margin:5px}
input.additional{margin-left:-5px}
select{padding:2px}
option{padding-right:10px}
input[type=text]:focus,input[type=password]:focus,textarea:focus,select:focus{border-color:#1796C4;color:#000}
textarea{width:500px;height:100px}

input.datepicker{width:80px;padding-right:24px;background:url(../img/datepicker.png) no-repeat 97% center}

form.filter{float:left;width:100%;color:#aaa;border-bottom:1px dotted #aaa;padding-bottom:10px;margin-bottom:10px}
form.filter label{width:auto;clear:none;margin-left:10px;color:#aaa}
form.filter label.first{margin-left:0}
form.filter input[type=text]{border-color:#ddd}
form.filter input[type=submit]{float:right;background:#aaa}

p{margin-bottom:10px}

.left{float:left}
.right{float:right}
.clear{clear:both}
.info{color:#aaa;font-size:0.75em}
.input-info{margin:8px 0}

.action{display:inline-block;width:20px;height:20px;background:url(../img/icons.png) no-repeat -1000px -1000px}
.action.delete{background-position:0 0}
.action.delete:hover{background-position:0 -20px}
.action.print{background-position:-20px 0}
.action.print:hover{background-position:-20px -20px}

table {
    border-right:0;
    border-collapse:collapse;
    width: 100%;
}
th {
    border-bottom:2px solid #555;
    text-align: left;
    padding:4px;
}
td {
    padding: 6px;
    text-align: left;
    vertical-align: top;
    border-bottom:1px solid #ddd;
}
table tr:nth-child(even) {
    background: #f9f9f9;
}
.entity-table tr{cursor:pointer}
.entity-table tr.blank,.entity-table thead tr{cursor:default}
.entity-table tr:hover{background:rgba(23,150,196,0.1)}
.entity-table thead tr:hover{background:transparent}
.entity-table .actions{text-align:right}
.entity-table .zavrsen{background:#F9EFC5;color:#B29362}
.entity-table .zavrsen:hover{background:#B29362;color:#fff}
.entity-table .preuzet{background:#EAFFEA;color:#88A888}
.entity-table .preuzet:hover{background:#88A888;color:#fff}


header{background:#1796C4;float:left;width:100%;color:#fff}
header a{color:#fff}
header h1{margin:0}

header ul{float:left;width:100%;list-style:none;color:#fff;box-shadow:0 -2px 3px #555 inset}
header li{float:left}
header li:hover,header .sublink:hover{background:rgba(255,255,255,0.3)}
header li.active{background:#fff;box-shadow:0 -5px 5px #333}
header li.active .sublink{color:#777}
header li.active .sublink:hover{background:#eee }
header li:first-child{}
header a,header strong{display:block;padding:10px;color:#fff;text-decoration:none}
header strong,header li.active a{background:#fff;color:#777;font-weight:normal}
header .sub a,header .sub strong{float:left;padding-left:4px}
header .sub .sublink{padding-left:10px}
header .sublink{font-size:20px;padding:6px 4px 11px 10px;font-weight:normal;line-height:20px}
header li:last-child{float:right}


#content{padding:20px;clear:both}

.pagination{text-align:center;margin-top:20px}
.pagination .first:after,.pagination .last:before{content:"...";color:#aaa}
.pagination a,.pagination .current{margin:0 1px;text-decoration:none;color:#aaa;padding:0 5px;border-radius:2px}
.pagination a:hover,.pagination .current{background:rgba(23,150,196,0.5);color:#fff}

#flashMessageContainer{}
#flashMessage{position:absolute;left:45%;padding:10px;text-align:center;background:#FCF6D8;box-shadow:0 1px 3px #333}
#flashMessage.ok{background:#379122;color:#fff}
#flashMessage.error{background:#B50F0C;color:#fff}

.droplist{
    width:150px;
    position:absolute;
    color:#fff;
    max-height:180px;
    overflow:hidden;
    padding:0px;
    background:#eee;
    display:none;
    margin-left:5px;
    box-shadow:0 3px 4px #000
}
.droplist ul{
    margin:0px;
    padding:0px;
    list-style-type:none;
    max-height:180px;
    overflow:auto;
}
.droplist ul li{
    margin:0px;
    padding:0px;
}
.droplist ul li a{
    display:block;
    padding:5px;
    text-decoration:none;
    color:#555;
}
.droplist ul li a:hover{
    color:#fff;
    background:#1796C4;
}

#models-list{list-style:none;float:left;display:table}
#models-list li{position:relative;display:table-row;float:left;width:100px;height:100px;overflow:hidden;border:1px solid #ddd;margin:2px;font-size:11px;text-align:center}
#models-list .image,#models-list .add div{width:100px;height:80px;overflow:hidden;display:table-cell;vertical-align:middle}
#models-list .add div{height:100px}
#models-list .add div:hover{background:#1796C4}
#models-list .add div:hover a{color:#fff}
#models-list a{display:block}
#models-list .delete{position:absolute;right:0;top:0;width:10px;height:10px;background:#ccc;color:#fff;text-decoration:none;font-size:10px;font-weight:bolder;line-height:8px}
#models-list .delete:hover{background:#f00}

.cake-sql-log,.cake-sql-log caption{background:#fff;color:#000;opacity:0.1}

.multi-inputs .btn{margin:8px 5px 0 0;float:right;cursor:pointer;text-decoration:none;border-radius:2px;color:#fff;width:20px;height:20px;text-align:center;font-weight:bolder;line-height:18px}
.multi-inputs .add{display:none;background:darkgreen}
.multi-inputs .delete{background:#B50F0C}
.multi-inputs .item{clear:both;float:left;width:100%}
.multi-inputs .item:last-child .add{display:inline-block}
.multi-inputs .item:last-child .delete{display:none}
.multi-inputs .item:hover{background:#eee}

input.form-error{border-color:#B50F0C}
.error-container{float:left;position:relative}
.error-container .error-message{position:absolute;width:250px;margin:5px 0 0 -5px;text-align:center;padding:3px 4px 4px;background:#B50F0C;color:#fff}